package org.pageley.games.connected.domain.environment;

import java.util.Arrays;

import org.pageley.games.domain.Direction;
import org.pageley.games.domain.Location;

/**
 * <pre>--\
 *. |</pre>
 */
public class CurveRoad extends AbstractRoad {
	public CurveRoad(Location location, Direction start, boolean right) {
		
		super(location, 2.0, 
				Arrays.asList(start),
				Arrays.asList(start.turn(right ? -2 : 2)));
	}
}
